package org.jeecg.common.workflow.vo.change.protocol;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author : Wzz
 * @create : 2023-05- 09- 14:16
 * @desc :
 */
@ApiModel("管理后台 - 协议变更更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BpmChgProtocolUpdateReqVo extends BpmChgProtocolCreateReqVo{

    @ApiModelProperty(value = "taskId", required = true, example = "taskId")
    @NotEmpty(message = "taskId不能为空")
    String taskId;

    @ApiModelProperty(value = "表单id", required = true, example = "id")
    @NotNull(message = "表单id不能为空")
    String id;

}
